package com.me.videoservice.model.common;

import java.util.List;
import lombok.Data;

@Data
public class Pageable {

  private Long page;
  private Long pageCount;
  private List<String> order;

  public Long getPage() {
    return page == null ? 1 : page;
  }

  public Long getPageCount() {
    return page == null ? 10 : pageCount;
  }
}
